Skip to main content

visitedIcon

Type

property

Summary

Specifies an image to display in a button when the button's visited property is true.

Syntax

set the visitedIcon of <button> to {<imageID> | <imageName>}

Description

Use the visitedIcon property to change a button's appearance when it has been clicked during the current session.

When the button has been clicked during the current session, the visitedIcon is displayed within the button's rectangle instead of the icon (if one has been specified).

Examples

set the visitedIcon of button "To Do List" to 5499
set the visitedIcon of me to the ID of image "Done"

function: stacks

glossary: property, current stack

keyword: image, button

object: button

property: icon, visited, name, ID

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?